{
"event": "run.item.completed",
"data": {
"runId": "<string>",
"itemId": "<string>",
"ideaId": "<string>",
"pageId": "<string>",
"jobId": "<string>",
"error": "<string>"
},
"timestamp": "2023-11-07T05:31:56Z"
}Webhooks
`runitemcompleted` event
Delivered as a POST to the subscribed URL. Verify X-Surfaced-Signature (HMAC-SHA256 over the raw body); X-Surfaced-Event carries the event name. Legacy name: the same payload is also delivered as brief.run.item.completed, which is the successor. A webhook subscribed to both names receives two deliveries.
WEBHOOK
run.item.completed
{
"event": "run.item.completed",
"data": {
"runId": "<string>",
"itemId": "<string>",
"ideaId": "<string>",
"pageId": "<string>",
"jobId": "<string>",
"error": "<string>"
},
"timestamp": "2023-11-07T05:31:56Z"
}Authorizations
API key (sk_live_...) created at https://www.getsurfaced.ai/app/settings/account/api-keys
Body
application/json
Response
200
Acknowledge with any 2xx status. Failed deliveries are retried.